package com.lnking.lnkingplace.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.export.annotation.ExcelColumn;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 防疫数据导入
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="EpidemicPrevention对象", description="防疫数据导入")
public class EpidemicPrevention extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "行业类型")
    private String tradeType;

    @ApiModelProperty(value = "场所名称")
    private String placeName;

    @ApiModelProperty(value = "区县名称")
    private String countyName;

    @ApiModelProperty(value = "街道名称")
    private String streetName;

    @ApiModelProperty(value = "社区名称")
    private String communityName;

    @ApiModelProperty(value = "场所负责人")
    private String placeLinkman;

    @ApiModelProperty(value = "场所负责人电话")
    private Integer placeLinkmanPhone;

    @ApiModelProperty(value = "员工姓名")
    private String staffName;

    @ApiModelProperty(value = "员工联系电话")
    private String staffPhone;

    @ApiModelProperty(value = "员工证件类型")
    private String staffCertificateType;

    @ApiModelProperty(value = "员工证件号码")
    private String staffCertificateNum;

    @ApiModelProperty(value = "最后一次核酸时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastCheckTime;

    @ApiModelProperty(value = "最近一次核酸检测结果(阴性、阳性)")
    private String lastCheckResult;

    @ApiModelProperty(value = "周期内是否做核酸")
    private String periodCheck;

    @ApiModelProperty(value = "14天是否做核酸")
    private String fourteenCheck;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonIgnore
    private Boolean del_flag;
}
